projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27f8268
)
libxl: allow PVH guests to use a bootloader
author
Roger Pau Monne
<roger.pau@citrix.com>
Fri, 22 Sep 2017 15:25:07 +0000
(16:25 +0100)
committer
Roger Pau Monne
<roger.pau@citrix.com>
Thu, 28 Sep 2017 14:28:01 +0000
(15:28 +0100)
Allow PVH guests to boot using a bootloader.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_bootloader.c
patch
|
blob
|
history
diff --git
a/tools/libxl/libxl_bootloader.c
b/tools/libxl/libxl_bootloader.c
index a47bd8c25ccc5174c05a1cc5a291d6c3bd581cbd..18e9ebd7148c4e584e83074ecafe56603f4fefe7 100644
(file)
--- a/
tools/libxl/libxl_bootloader.c
+++ b/
tools/libxl/libxl_bootloader.c
@@
-324,8
+324,8
@@
void libxl__bootloader_run(libxl__egc *egc, libxl__bootloader_state *bl)
libxl__bootloader_init(bl);
- if (info->type
!= LIBXL_DOMAIN_TYPE_PV
) {
- LOGD(DEBUG, domid, "not a PV domain, skipping bootloader");
+ if (info->type
== LIBXL_DOMAIN_TYPE_HVM
) {
+ LOGD(DEBUG, domid, "not a PV
/PVH
domain, skipping bootloader");
rc = 0;
goto out_ok;
}